#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main()
{
    int fd = open("./1.txt",O_RDWR | O_CREAT,0664);
    write(fd,"i am biter",11);
    lseek(fd,0,SEEK_SET);
    char buf[1024] = {0};
    read(fd,buf,sizeof(buf)-1);
    printf("%s",buf);
    while(1)
    {
        
    }
    return 0;
}
